package com.工厂模式.abstratfactory;

import com.工厂模式.methods.BJHJPizza;

public class BJHJPizzaImpl extends PizzaFactory{
    @Override
    public PizzaAbstract getPizz() {
        HJPizza hjPizza = new HJPizza();
        hjPizza.setAddress("北京工厂生产");
        return hjPizza;
    }
}
